import {server} from "../utils/request";

export function queryAll(){
    return server({
        url: '/sysOrganization',
        method: 'get'
    })
}

export function queryById(id){
    return server({
        url: `/sysOrganization/queryById/${id}`,
        method: 'GET'
    })
}